﻿@model DietPlanning.Models.DietDetail

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<h2>Details</h2>

<fieldset>
    <legend>DietDetail</legend>

    <div class="display-label">Diet</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Diet.DietName)
    </div>

    <div class="display-label">Dish</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Dish.DishName)
    </div>

    <div class="display-label">Time</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Time)
    </div>

    <div class="display-label">DateTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateTime)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.DietDetailID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
